<h1 mat-dialog-title [ngClass]="data.color">{{data.title}}</h1>
<div mat-dialog-content [ngClass]="data.class" style="min-height: 90px;">
  <p class="line-height24" [innerHTML]="data.body"></p>
</div>
<div mat-dialog-actions *ngIf="!data.btn" style="justify-content: flex-end;">
  <button mat-button [mat-dialog-close]="true" tabindex="2">确定</button>
</div>
<div mat-dialog-actions *ngIf="data.btn" style="justify-content: flex-end;">
  <button mat-raised-button [mat-dialog-close]="true" tabindex="2" [innerHTML]="data.btn.ok.text || '确定'"></button>
  <button mat-raised-button mat-dialog-close tabindex="-1" [innerHTML]="data.btn.cancel.text|| '取消'"></button>
</div>
